#ifndef WAVE_ENDLESS_H
#define WAVE_ENDLESS_H

#include "Utils.h"

#include <list>

#include "game/Wave.h"
#include "game/Map.h"

namespace VectorTD
{
	class WaveEndless: public Wave
	{
	public:
		bool Update(double p_deltaMs);
		std::vector<Unit*>& GetUpdatedCreeps();
		WaveEndless(int p_difficultyLvl, Map* p_map);
		~WaveEndless();
	private:
		Map* m_map;
		double m_elapsedTime;
		std::list<std::pair<unsigned int, Unit*> > m_units;
		std::vector<Unit*> m_unitsToBeSpawn;
	};
}

#endif
